package com.info.zhiduoduo.repository.entity.crowdsource;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author tianyonghong
 * @create 2023/2/12
 */
@Data
@Accessors(chain = true)
@TableName("zdd_crowdsource_pay_config")
public class CrowdsourcePayConfig extends Model<CrowdsourcePayConfig> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 注册地城市(来源表zdd_city_config)
     */
    private int registerCityId;

    /**
     * 支付方式id(表zdd_payment)
     */
    private int payId;

    /**
     * 是否可以发众包项目(否：0,是：1)
     */
    private int isCrowdsource;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
